package lab02.test37;

public class UnderGraduate extends Student {
    @Override
    String average(double[] course) {
        double sum=0;
        for (int i=0;i<course.length;i++){
            sum +=course[i];
        }
        sum = sum/3;
        if (sum>60)
            pass="通过！";
        else
            pass ="未通过！";
        return pass;
    }
}

